<?php
/**
 * The Sidebar containing the main widget area.
 * @package WOODGIFT
 * @author Mr Rony<mrtrandangtrinh@gmail.com>
 */
global $sTemplateURL;
?>
<div class="navbar col-md-3 right-sidebar">
	<div class="navbar-header">
		<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse-right">
			<span class="icon-bar"></span>
			<span class="icon-bar"></span>
			<span class="icon-bar"></span>
		</button>
	</div>
	<div class="navbar-collapse navbar-collapse-right collapse">
    	<div class="navbar-widget">
    	<h3><?php _e("Thương hiệu"); ?></h3>
		<?php
		if (function_exists('dynamic_sidebar'))
			dynamic_sidebar('sidebar-shop-category');
		?>
        </div>
		<?php
		$iPageID = get_page_by_path('home')->ID;
		$hotline = get_field('_hotline', $iPageID);
		$sHotline = !empty($hotline) ? $hotline : '';
		$yahoo = get_field('_yahoo', $iPageID);
		$sYahoo = !empty($yahoo) ? $yahoo : '';
		$face = get_field('_facebook', $iPageID);
		$sFacebook = !empty($face) ? $face : '#';
		?>
        <div class="navbar-widget">
	        <h3><?php _e("Hỗ trợ trực tuyến"); ?></h3>
            <div class="contact-online">
                <p style="padding-bottom: 10px;"><?php _e("Hotline: "); ?><span style="color: #ee0000;"><?php echo $sHotline; ?></span></p>
                <a href="ymsgr:sendIM?<?php echo $sYahoo; ?>" class="yahoo">
                    <img src="http://opi.yahoo.com/online?u=<?php echo $sYahoo; ?>&m=g&t=14">
                </a>
            </div>
        </div>
		<div class="facebook">
        	<h3>Facebook</h3>
            <div class="fb-like-box" data-href="<?php echo $sFacebook; ?>" data-width="220" data-height="auto" data-colorscheme="light" data-show-faces="true" data-header="false" data-stream="false" data-show-border="false"></div>
		</div>
	</div><!--/.nav-collapse -->
</div>